1. The Boolean function [~(~p ∧ q) ∧ ~( ~p ∧ ~q)] ∨ (p ∧ r)] is equal to the Boolean function:
We are asked to determine pre-order (i.e. parent-node left-node right-node), we will drive it from ordered tree i.e. ↔ ~ ∧ p q ∨ ~ p ~q And post-order(i.e. left-node right-node parent-node) from the ordered tree it is p q ∧ ~ p ~ q ~ ∨ ↔. So, option (B) is correct.4. What is the probability that a randomly selected bit string of length 10 is a palindrome?
i.e. 25 choices for first half and 25 choices for second half.
Probability = favorable outcome / total outcome
= 25/ 210
= 1 / 25
= 1 / 32.
So, option (B) is correct.
5. Given the following graphs:
Which of the following is correct?